package com.yimils.core.hardware.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yimils.core.common.dto.GetQueryParams;
import com.yimils.core.hardware.dto.ReqAddHwRetail;
import com.yimils.core.hardware.entity.RetailEntity;
import com.yimils.core.hardware.vo.RetailVo;
import com.yimils.core.sys.dto.ReqAddDept;
import com.yimils.core.sys.entity.DeptEntity;

import java.util.List;

public interface RetailService extends IService<RetailEntity> {
    boolean createHWRetail(ReqAddHwRetail dto);
    IPage<RetailVo> getListForPage(GetQueryParams queryParams);
    RetailVo getRetailVoById(Long id);

    boolean modify(RetailEntity entity);
}
